<?php

$self = array(
	'name' => 'CQuestObject',

	'type' => 'collection',

	'fields' => array(
		array( 'name' => 'quest_oid'		, 'type' => 'integer' , ) ,
		array( 'name' => 'object_oid'     	, 'type' => 'integer') ,
		// auth
		array( 'name' => 'state'       		, 'type' => 'string'  , 'db' => array( 'type' => 'TINYINT', 'size'=>1)) ,
	),

	'primary_key' => array('quest_oid','object_oid'),

	'db' => array('name' => 'quest_object'),

	'implement' => 'collections/collection.php#collection',
);